/*******************************************************************************
 * Copyright (c) 2008 Sylvain Sicard.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Lesser Public License v2.1
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 * 
 * Contributors:
 *     Christophe Taton - initial API and implementation
 ******************************************************************************/
package fr.jade.service.nodes;

import org.objectweb.fractal.api.Component;
import org.objectweb.fractal.api.factory.InstantiationException;

/**
 * @author Christophe Taton
 */
public interface ClusterManager
{
	/**
	 * Dynamically adds a node
	 * @param physical hostname of the node
	 * @param virtual component name
	 * @return the node
	 */
	public Component addNode(String physical, String virtual) throws InstantiationException;
	
}
